Skip to content

pkey: fix memory leak when derived key is too large#1029

Merged
rhenium merged 1 commit intoruby:masterfrom
ndossche:leak-too-large
Apr 17, 2026
Merged

pkey: fix memory leak when derived key is too large#1029
rhenium merged 1 commit intoruby:masterfrom
ndossche:leak-too-large

Conversation

@ndossche
Copy link
Copy Markdown
Contributor

Unlikely to happen in practice, but mirrors other similar checks that also free the context.

Unlikely to happen in practice, but mirrors other similar checks that
also free the context.
Copy link
Copy Markdown
Member

@rhenium rhenium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@rhenium rhenium merged commit b8b428a into ruby:master Apr 17, 2026
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants